import java.io.Serializable;

public class Student implements Serializable {
    private String studentId;
    private String name;
    private String className;

    public Student(String studentId, String name, String className) {
        this.studentId = studentId;
        this.name = name;
        this.className = className;
    }

    public String getStudentId() {
        return studentId;
    }

    public String getName() {
        return name;
    }

    public String getClassName() {
        return className;
    }

    @Override
    public String toString() {
        return "学生[学号：" + studentId + "，姓名：" + name + "，班级：" + className + "]";
    }
}